package com.zygh.policeasset.controller;

import com.zygh.policeasset.service.OperaLogService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping({"/operaLog"})
@Api(tags = {"日志记录"})
@RestController
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/controller/OperaLogController.class */
public class OperaLogController {
    @Autowired
    OperaLogService operaLogService;

    @RequestMapping(value = {"/findAll"}, method = {RequestMethod.GET})
    @ApiOperation("查询")
    public Object findAll(@RequestParam(defaultValue = "1", value = "pageNum") int pageNum, @RequestParam(defaultValue = "10", value = "pageSize") int pageSize, @RequestParam(value = "operIp", required = false) String operIp, @RequestParam(value = "operUserName", required = false) String operUserName, @RequestParam(value = "startTime", required = false) String startTime, @RequestParam(value = "endTime", required = false) String endTime) {
        return this.operaLogService.findAll(pageNum, pageSize, operIp, operUserName, startTime, endTime);
    }
}